package Testing;

import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.ArrayList;

import monsterRun.common.model.Position;
import monsterRun.common.model.enums.GameBoardType;
import monsterRun.common.model.enums.GameMode;

public interface PlayerMessagesInterface extends java.rmi.Remote
{
	public int playerMove(int playerID,Position position ,int move) throws RemoteException;

	public boolean createGameDetails(int number, GameBoardType board,
			GameMode mode) throws RemoteException;

	public void createDetailsResponse(int userID) throws RemoteException;

	public void createJoinGameRequest(int userID, String connectionDetails) throws RemoteException;

	public ArrayList<Integer> createStartPosResponse(int playerID,int index)
			throws RemoteException;

	public boolean isGameCreator() throws RemoteException;

	public ArrayList<Integer> getAvailablePositions() throws RemoteException;

	public void setCreatorStatus(boolean status) throws RemoteException;
	
	
	
	public boolean sendLoginDetails(String [] details)throws RemoteException;
	
	public boolean createRegistrationRequest(String [] details)throws RemoteException, SQLException;

}
